\hypertarget{pwm_8c}{
\section{atmega1281/low/pwm/pwm.c File Reference}
\label{pwm_8c}\index{atmega1281/low/pwm/pwm.c@{atmega1281/low/pwm/pwm.c}}
}
{\ttfamily \#include \char`\"{}pwm.h\char`\"{}}\par
\subsection*{Defines}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{pwm_8c_a3fca9ad5cde3e6b6b50ad428aa007b2a}{PWM\_\-R}~OCR0A
\item 
\#define \hyperlink{pwm_8c_a522f80b91bede3a41970a0c8bc2af286}{PWM\_\-L}~OCR0B
\item 
\#define \hyperlink{pwm_8c_a28e851ad9a01cfdb26991ccbabd1f06c}{DIR\_\-MOTOR\_\-PORT\_\-R}~PORTG
\item 
\#define \hyperlink{pwm_8c_ae3f22938cba24c4b865d84a741cc21f5}{DIR\_\-MOTOR\_\-PORT\_\-L}~PORTG
\item 
\#define \hyperlink{pwm_8c_a1ade39389d1a5235ed4d0f0f882356d6}{DIR\_\-MOTOR\_\-DDR\_\-R}~DDRG
\item 
\#define \hyperlink{pwm_8c_a93ed9e260ef93b97411fae336458aa99}{DIR\_\-MOTOR\_\-DDR\_\-L}~DDRG
\item 
\#define \hyperlink{pwm_8c_a4299b61044ce13718301f43935dbf078}{PWM\_\-MOTOR\_\-DDR\_\-R}~DDRB
\item 
\#define \hyperlink{pwm_8c_a4ff2faf0e2237bb95dc0385274d7eae7}{PWM\_\-MOTOR\_\-DDR\_\-L}~DDRG
\item 
\#define \hyperlink{pwm_8c_acaf62cfaf265db1b2ec6137f96ba1511}{DIR\_\-MOTOR\_\-PIN\_\-R}~PG3
\item 
\#define \hyperlink{pwm_8c_a16f884e70d0edb94a05736ec48995e29}{DIR\_\-MOTOR\_\-PIN\_\-L}~PG4
\item 
\#define \hyperlink{pwm_8c_a59a801fb905483b597637525a99cfcb9}{PWM\_\-MOTOR\_\-PIN\_\-R}~PB7
\item 
\#define \hyperlink{pwm_8c_aeecb87d199083fb93b7f598d58f7e54f}{PWM\_\-MOTOR\_\-PIN\_\-L}~PG5
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{group__nxbot__pwm_gaa8b8bbd1655fae8802b479327355a9e2}{configPwm} (unsigned char freq)
\item 
void \hyperlink{group__nxbot__pwm_ga7a0e2901860a615a91f8f41fec8c75e8}{setFreqPwm} (unsigned char freq)
\item 
unsigned char \hyperlink{group__nxbot__pwm_gaf3b92a34490a16a3781ba5f6548dd205}{getFreqPwm} ()
\item 
void \hyperlink{group__nxbot__pwm_gafbfae8c7ddb23906a8e0863e8ddda681}{setPwmRight} (signed char right)
\item 
void \hyperlink{group__nxbot__pwm_ga5cb285add5e33db68d6e53a7f309ce3b}{setPwmLeft} (signed char left)
\end{DoxyCompactItemize}


\subsection{Define Documentation}
\hypertarget{pwm_8c_a93ed9e260ef93b97411fae336458aa99}{
\index{pwm.c@{pwm.c}!DIR\_\-MOTOR\_\-DDR\_\-L@{DIR\_\-MOTOR\_\-DDR\_\-L}}
\index{DIR\_\-MOTOR\_\-DDR\_\-L@{DIR\_\-MOTOR\_\-DDR\_\-L}!pwm.c@{pwm.c}}
\subsubsection[{DIR\_\-MOTOR\_\-DDR\_\-L}]{\setlength{\rightskip}{0pt plus 5cm}\#define DIR\_\-MOTOR\_\-DDR\_\-L~DDRG}}
\label{pwm_8c_a93ed9e260ef93b97411fae336458aa99}
\hypertarget{pwm_8c_a1ade39389d1a5235ed4d0f0f882356d6}{
\index{pwm.c@{pwm.c}!DIR\_\-MOTOR\_\-DDR\_\-R@{DIR\_\-MOTOR\_\-DDR\_\-R}}
\index{DIR\_\-MOTOR\_\-DDR\_\-R@{DIR\_\-MOTOR\_\-DDR\_\-R}!pwm.c@{pwm.c}}
\subsubsection[{DIR\_\-MOTOR\_\-DDR\_\-R}]{\setlength{\rightskip}{0pt plus 5cm}\#define DIR\_\-MOTOR\_\-DDR\_\-R~DDRG}}
\label{pwm_8c_a1ade39389d1a5235ed4d0f0f882356d6}
\hypertarget{pwm_8c_a16f884e70d0edb94a05736ec48995e29}{
\index{pwm.c@{pwm.c}!DIR\_\-MOTOR\_\-PIN\_\-L@{DIR\_\-MOTOR\_\-PIN\_\-L}}
\index{DIR\_\-MOTOR\_\-PIN\_\-L@{DIR\_\-MOTOR\_\-PIN\_\-L}!pwm.c@{pwm.c}}
\subsubsection[{DIR\_\-MOTOR\_\-PIN\_\-L}]{\setlength{\rightskip}{0pt plus 5cm}\#define DIR\_\-MOTOR\_\-PIN\_\-L~PG4}}
\label{pwm_8c_a16f884e70d0edb94a05736ec48995e29}
\hypertarget{pwm_8c_acaf62cfaf265db1b2ec6137f96ba1511}{
\index{pwm.c@{pwm.c}!DIR\_\-MOTOR\_\-PIN\_\-R@{DIR\_\-MOTOR\_\-PIN\_\-R}}
\index{DIR\_\-MOTOR\_\-PIN\_\-R@{DIR\_\-MOTOR\_\-PIN\_\-R}!pwm.c@{pwm.c}}
\subsubsection[{DIR\_\-MOTOR\_\-PIN\_\-R}]{\setlength{\rightskip}{0pt plus 5cm}\#define DIR\_\-MOTOR\_\-PIN\_\-R~PG3}}
\label{pwm_8c_acaf62cfaf265db1b2ec6137f96ba1511}
\hypertarget{pwm_8c_ae3f22938cba24c4b865d84a741cc21f5}{
\index{pwm.c@{pwm.c}!DIR\_\-MOTOR\_\-PORT\_\-L@{DIR\_\-MOTOR\_\-PORT\_\-L}}
\index{DIR\_\-MOTOR\_\-PORT\_\-L@{DIR\_\-MOTOR\_\-PORT\_\-L}!pwm.c@{pwm.c}}
\subsubsection[{DIR\_\-MOTOR\_\-PORT\_\-L}]{\setlength{\rightskip}{0pt plus 5cm}\#define DIR\_\-MOTOR\_\-PORT\_\-L~PORTG}}
\label{pwm_8c_ae3f22938cba24c4b865d84a741cc21f5}
\hypertarget{pwm_8c_a28e851ad9a01cfdb26991ccbabd1f06c}{
\index{pwm.c@{pwm.c}!DIR\_\-MOTOR\_\-PORT\_\-R@{DIR\_\-MOTOR\_\-PORT\_\-R}}
\index{DIR\_\-MOTOR\_\-PORT\_\-R@{DIR\_\-MOTOR\_\-PORT\_\-R}!pwm.c@{pwm.c}}
\subsubsection[{DIR\_\-MOTOR\_\-PORT\_\-R}]{\setlength{\rightskip}{0pt plus 5cm}\#define DIR\_\-MOTOR\_\-PORT\_\-R~PORTG}}
\label{pwm_8c_a28e851ad9a01cfdb26991ccbabd1f06c}
\hypertarget{pwm_8c_a522f80b91bede3a41970a0c8bc2af286}{
\index{pwm.c@{pwm.c}!PWM\_\-L@{PWM\_\-L}}
\index{PWM\_\-L@{PWM\_\-L}!pwm.c@{pwm.c}}
\subsubsection[{PWM\_\-L}]{\setlength{\rightskip}{0pt plus 5cm}\#define PWM\_\-L~OCR0B}}
\label{pwm_8c_a522f80b91bede3a41970a0c8bc2af286}
\hypertarget{pwm_8c_a4ff2faf0e2237bb95dc0385274d7eae7}{
\index{pwm.c@{pwm.c}!PWM\_\-MOTOR\_\-DDR\_\-L@{PWM\_\-MOTOR\_\-DDR\_\-L}}
\index{PWM\_\-MOTOR\_\-DDR\_\-L@{PWM\_\-MOTOR\_\-DDR\_\-L}!pwm.c@{pwm.c}}
\subsubsection[{PWM\_\-MOTOR\_\-DDR\_\-L}]{\setlength{\rightskip}{0pt plus 5cm}\#define PWM\_\-MOTOR\_\-DDR\_\-L~DDRG}}
\label{pwm_8c_a4ff2faf0e2237bb95dc0385274d7eae7}
\hypertarget{pwm_8c_a4299b61044ce13718301f43935dbf078}{
\index{pwm.c@{pwm.c}!PWM\_\-MOTOR\_\-DDR\_\-R@{PWM\_\-MOTOR\_\-DDR\_\-R}}
\index{PWM\_\-MOTOR\_\-DDR\_\-R@{PWM\_\-MOTOR\_\-DDR\_\-R}!pwm.c@{pwm.c}}
\subsubsection[{PWM\_\-MOTOR\_\-DDR\_\-R}]{\setlength{\rightskip}{0pt plus 5cm}\#define PWM\_\-MOTOR\_\-DDR\_\-R~DDRB}}
\label{pwm_8c_a4299b61044ce13718301f43935dbf078}
\hypertarget{pwm_8c_aeecb87d199083fb93b7f598d58f7e54f}{
\index{pwm.c@{pwm.c}!PWM\_\-MOTOR\_\-PIN\_\-L@{PWM\_\-MOTOR\_\-PIN\_\-L}}
\index{PWM\_\-MOTOR\_\-PIN\_\-L@{PWM\_\-MOTOR\_\-PIN\_\-L}!pwm.c@{pwm.c}}
\subsubsection[{PWM\_\-MOTOR\_\-PIN\_\-L}]{\setlength{\rightskip}{0pt plus 5cm}\#define PWM\_\-MOTOR\_\-PIN\_\-L~PG5}}
\label{pwm_8c_aeecb87d199083fb93b7f598d58f7e54f}
\hypertarget{pwm_8c_a59a801fb905483b597637525a99cfcb9}{
\index{pwm.c@{pwm.c}!PWM\_\-MOTOR\_\-PIN\_\-R@{PWM\_\-MOTOR\_\-PIN\_\-R}}
\index{PWM\_\-MOTOR\_\-PIN\_\-R@{PWM\_\-MOTOR\_\-PIN\_\-R}!pwm.c@{pwm.c}}
\subsubsection[{PWM\_\-MOTOR\_\-PIN\_\-R}]{\setlength{\rightskip}{0pt plus 5cm}\#define PWM\_\-MOTOR\_\-PIN\_\-R~PB7}}
\label{pwm_8c_a59a801fb905483b597637525a99cfcb9}
\hypertarget{pwm_8c_a3fca9ad5cde3e6b6b50ad428aa007b2a}{
\index{pwm.c@{pwm.c}!PWM\_\-R@{PWM\_\-R}}
\index{PWM\_\-R@{PWM\_\-R}!pwm.c@{pwm.c}}
\subsubsection[{PWM\_\-R}]{\setlength{\rightskip}{0pt plus 5cm}\#define PWM\_\-R~OCR0A}}
\label{pwm_8c_a3fca9ad5cde3e6b6b50ad428aa007b2a}
